matlab 中使用subplot时怎么用legend标注。我再一个图中画4个子图,想...答:x=linspace(-2,2);subplot 221 plot(sin(x),'r');subplot 222 plot(sin(2*x),'g');subplot 223 plot(sin(3*x),'b');subplot 224 plot(sin(4*x),'k');a=axes('visible','off');hold on;plot(0,0,'r');plot(0,0,'g');plot(0,0,'b');plot(0,0,'k');legend('...